'use strict';

angular.module('app')
  .controller('myFavoriteCtrl', [
    '$scope', '$http',
    function($scope, $http) {
      $http.get('data/myFavorite.json')
        .then(function(success) {
          $scope.list = success.data;
        }, function(error) {
          // body...
        })
    }
  ])
